package com.mark.enums;

/**
 * Created by Mark on 2018/3/27.
 * 购物车的枚举类
 */
public enum CartEnum {
    LIMIT_NUM_SUCCESS(1,"LIMIT_NUM_SUCCESS"),
    LIMIT_NUM_FAIL(0,"LIMIT_NUM_FAIL"),
    CHECKED(1,"购物车中商品被选中状态"),
    UN_CHECKED(0,"购物车中商品没被选中状态");
    private int state;
    private String information;
    CartEnum(int state, String information) {
        this.state = state;
        this.information = information;
    }

    public int getState() {
        return state;
    }

    public String getInformation() {
        return information;
    }
}
